@import url(./footer.css);

#header {
    padding: 0 15px;
    box-sizing: border-box;
    width: 100%;
    height: 64px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: #fff;

    .logo {
        width: 40px;
        height: 40px;
        margin-right: 8px;
        background-image: url(../img/login/logo.png);
        background-size: cover;
        background-repeat: no-repeat;
    }

    h1 {
        font-size: 23px;
        font-weight: 500;
        letter-spacing: 3px;
    }
}

#container {
    width: 100%;
    height: calc(100vh - 64px);
    background-image: url(../img/login/bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% center;
    position: relative;

    .loginform {
        padding: 24px 24px 12px;
        box-sizing: border-box;
        width: 432px;
        height: 316px;
        position: absolute;
        right: 46px;
        bottom: 222px;
        background-color: #fff;
        border-radius: 2px;

        h2 {
            font-size: 20px;
            margin-bottom: 24px;
            color: #2c2c3c;
            font-weight: normal;
        }

        .phoneEmpty {
            label {
                color: #ff4d4f !important;
                border-color: #ff4d4f !important;
            }

            input {
                border-color: #ff4d4f !important;
            }

            input:focus {
                border-color: #ff7875 !important;
                border-right-width: 1px !important;
                outline: 0;
                box-shadow: 0 0 0 2px rgba(255, 77, 79, .2) !important;
            }

        }

        .phone {
            display: flex;
            align-items: center;
            width: 100%;
            height: 40px;

            label {
                text-align: center;
                width: 100px;
                height: 40px;
                padding: 0 11px;
                line-height: 40px;
                cursor: pointer;
                border-radius: 2px 0 0 2px;
                border: 1px solid #d9d9d9;
                border-right: 0;
                color: rgba(0, 0, 0, .85);
                font-weight: 400;
                font-size: 14px;
                transform: all .3;
            }

            input {
                flex: 1;
                height: 40px;
                border: 1px solid #d9d9d9;
                border-radius: 0 2px 2px 0;
                padding: 6.5px 11px;
                font-size: 16px;
                line-height: 1.5715;
                color: rgba(0, 0, 0, .85);
                list-style: none;
            }

            input:focus {
                outline: 0;
                box-shadow: 0 0 0 2px rgba(0, 198, 198, .2);
            }

        }

        .phoneError {
            display: block;
            min-height: 23px;
            font-size: 14px;
            color: #ff4d4f;
        }

        .codeEmpty {
            input {
                border-color: #ff4d4f !important;
            }

            input:focus {
                border-color: #ff7875 !important;
                border-right-width: 1px !important;
                outline: 0;
                box-shadow: 0 0 0 2px rgba(255, 77, 79, .2) !important;
            }
        }

        .code {
            display: flex;
            align-items: center;
            width: 100%;
            height: 40px;

            input {
                flex: 1;
                height: 40px;
                border: 1px solid #d9d9d9;
                border-radius: 0 2px 2px 0;
                padding: 6.5px 11px;
                font-size: 16px;
                line-height: 1.5715;
                color: rgba(0, 0, 0, .85);
                list-style: none;

            }

            input:focus {
                outline: 0;
                box-shadow: 0 0 0 2px rgba(0, 198, 198, .2);
            }

            button {
                flex: 1;
                // width: 112px;
                height: 40px;
                padding: 0 15px;
                box-sizing: border-box;
                background-color: #00c6c6;
                color: #fff;
                font-size: 16px;
                border-radius: 0 2px 2px 0;
                border: none;
                cursor: pointer;
            }
            .disabled {
                color: rgba(0,0,0,.25) !important;
                background-color: #f5f5f5 !important;
                border: 1px solid #d9d9d9 !important;
                border-left: 0;
                text-shadow: none;
                box-shadow: none;
                cursor: not-allowed;
            }
        }

        .codeError {
            display: block;
            min-height: 23px;
            font-size: 14px;
            color: #ff4d4f;
            margin-bottom: -1px;
        }

        .login {
            width: 100%;
            border: 0;
            background-color: #00c6c6;
            padding: 0 15px;
            height: 40px;
            text-align: center;
            color: #fff;
            font-size: 16px;
        }
        .login:hover {
            color: #fff;
            background-color: #22d4ce;
            border-color: #22d4ce;
        }

        .login:active {
            color: #fff;
            background-color: #009ba1;
            border-color: #009ba1;
        }

        .question {
            width: 100%;
            display: block;
            text-align: right;
            font-size: 12px;
            line-height: 1;
            margin-top: 10px;
            color: #a8a7ae;
            cursor: pointer;
        }
        .checkBox {
            margin-top: 28px;
            font-size: 12px;
            text-align: center;
            color: #a8a7ae;
            a{
                color: #0ac2c3;
                text-decoration: underline;
                margin: 0 5px;
            }
            input{
                vertical-align: middle;
                width: 16px;
                height: 16px;
            }
        }
    }
}